package com.timothy.chart;

public class Bar2D {
	private int indext;//从左向右顺序
	
	String choiceText;//柱状图描述文本
	int choiceTextOrdinateX;//描述文本横坐标
	int choiceTextOrdinateY;//描述文本纵坐标
	
	private int topLeftX;//柱状图左上角横坐标
	private int topLeftY;//柱状图左上角纵坐标
	private int bottomRightX;//柱状图右下角横坐标
	private int bottomRightY;//柱状图右下角纵坐标
	private int fullColor;//柱状图填充色
	
	String answerText;//柱状图结果文本
	int answerType;//柱状图结果样式( 0 display votes;1 display ratio; 2 display both)
	int answerTextOrdinateX;//结果文本横坐标
	int answerTextOrdinateY;//结果文本纵坐标
	
	int votes;//票数
	
	public Bar2D() {
		super();
	}
	
	public Bar2D(int index, int votes,String choiceText,int answerType,int fullColor) {
		super();
		this.indext = index;
		this.votes = votes;
		this.choiceText = choiceText;
//		this.answerText = answerText;
		this.answerType = answerType;
		this.fullColor = fullColor;
	}

	public int getCyliIndex() {
		return indext;
	}

	public void setCyliIndex(int cyliIndex) {
		this.indext = cyliIndex;
	}

	public String getChoiceText() {
		return choiceText;
	}

	public void setChoiceText(String choiceText) {
		this.choiceText = choiceText;
	}

	public int getChoiceTextOrdinateX() {
		return choiceTextOrdinateX;
	}

	public void setChoiceTextOrdinateX(int choiceTextOrdinateX) {
		this.choiceTextOrdinateX = choiceTextOrdinateX;
	}

	public int getChoiceTextOrdinateY() {
		return choiceTextOrdinateY;
	}

	public void setChoiceTextOrdinateY(int choiceTextOrdinateY) {
		this.choiceTextOrdinateY = choiceTextOrdinateY;
	}

	public int getTopLeftX() {
		return topLeftX;
	}

	public void setTopLeftX(int topLeftX) {
		this.topLeftX = topLeftX;
	}

	public int getTopLeftY() {
		return topLeftY;
	}

	public void setTopLeftY(int topLeftY) {
		this.topLeftY = topLeftY;
	}

	public int getBottomRightX() {
		return bottomRightX;
	}

	public void setBottomRightX(int bottomRightX) {
		this.bottomRightX = bottomRightX;
	}

	public int getBottomRightY() {
		return bottomRightY;
	}

	public void setBottomRightY(int bottomRightY) {
		this.bottomRightY = bottomRightY;
	}

	public String getAnswerText() {
		return answerText;
	}

	public void setAnswerText(String answerText) {
		this.answerText = answerText;
	}

	public int getAnswerTextOrdinateX() {
		return answerTextOrdinateX;
	}

	public void setAnswerTextOrdinateX(int answerTextOrdinateX) {
		this.answerTextOrdinateX = answerTextOrdinateX;
	}

	public int getAnswerTextOrdinateY() {
		return answerTextOrdinateY;
	}

	public void setAnswerTextOrdinateY(int answerTextOrdinateY) {
		this.answerTextOrdinateY = answerTextOrdinateY;
	}
	
	public int getIndext() {
		return indext;
	}

	public void setIndext(int indext) {
		this.indext = indext;
	}

	public int getVotes() {
		return votes;
	}

	public void setVotes(int votes) {
		this.votes = votes;
	}

	public int getFullColor() {
		return fullColor;
	}

	public void setFullColor(int fullColor) {
		this.fullColor = fullColor;
	}

	public int getAnswerType() {
		return answerType;
	}

	public void setAnswerType(int answerType) {
		this.answerType = answerType;
	}
}
